package com.itheima.CSM_bacK.aacMapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Entity.CheckGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckGroupMapper {
    void add(CheckGroup checkGroup);

    void addAtConnection(Integer itemId, int groupId);

    void deleteById(Integer id);

    void deleteAtConnection(int groupId);

    Page<CheckGroup> findPage(String queryString);

    void edit(CheckGroup checkGroup);

    List<CheckGroup> findAll();

    CheckGroup findById(Integer id);

    List<Integer> findCheckGroupIdsBySetmealId(Integer setmealId);
}
